﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Global.Class.Library
{
    public static class GlobalEnum
    {
        public enum TaskID
        {
            EmployeeCategory = 1,
            EmployeeType = 2,
            EmployeeName = 3,



            ItemCategory = 111,
            ItemType = 112,
            ItemClass = 116,
            ItemBrand = 113,
            ItemPM_APM = 117,
            ItemGroup = 114,
            ItemCommodity = 115,


            CustomerCategory = 251,
            CustomerType = 252,
            CustomerChannel = 253,
            CustomerName = 254,
            CustomerGroup = 255,


            ListItemCategory = 111,
            ListItemCategoryVerifiable = 1118888,
            ListItemCategoryUnverifiable = 111888899,

            ListItemType = 112,
            ListItemTypeVerifiable = 1128888,
            ListItemTypeUnverifiable = 112888899,

            ListItemBrand = 113,
            ListItemBrandVerifiable = 1138888,
            ListItemBrandUnverifiable = 113888899,

            ListItemGroup = 114,
            ListItemGroupVerifiable = 1148888,
            ListItemGroupUnverifiable = 114888899,

            ListItemCommodity = 115,
            ListItemCommodityVerifiable = 1158888,
            ListItemCommodityUnverifiable = 115888899,
            
            ListItemClass = 116,
            ListItemClassVerifiable = 1168888,
            ListItemClassUnverifiable = 116888899,

            ListItemPM_APM = 117,
            ListItemPM_APMVerifiable = 1178888,
            ListItemPM_APMUnverifiable = 117888899,

            ListSalesmenCategory = 151,
            ListSalesmenCategoryVerifiable = 1518888,
            ListSalesmenCategoryUnverifiable = 151888899,

            ListSalesmenType = 152,
            ListSalesmenTypeVerifiable = 1528888,
            ListSalesmenTypeUnverifiable = 152888899,

            ListSalesmenName = 154,
            ListSalesmenNameVerifiable = 1548888,
            ListSalesmenNameUnverifiable = 154888899,

            ListSalesmenTitle = 156,
            ListSalesmenTitleVerifiable = 1568888,
            ListSalesmenTitleUnverifiable = 156888899,            

            ListStaffCategory = 162001,
            ListStaffCategoryVerifiable = 1620018888,
            ListStaffCategoryUnverifiable = 1620018899,

            ListStaffName = 162002,
            ListStaffNameVerifiable = 16228888,
            ListStaffNameUnverifiable = 16228899,

            ListDistributorCategory = 211,
            ListDistributorCategoryVerifiable = 2118888,
            ListDistributorCategoryUnverifiable = 211888899,

            ListDistributorType = 212,
            ListDistributorTypeVerifiable = 2128888,
            ListDistributorTypeUnverifiable = 212888899,

            ListDistributorName = 214,
            ListDistributorNameVerifiable = 2148888,
            ListDistributorNameUnverifiable = 214888899,            

            ListCustomerCategory = 251,
            ListCustomerCategoryVerifiable = 2518888,
            ListCustomerCategoryUnverifiable = 251888899,

            ListCustomerType = 252,
            ListCustomerTypeVerifiable = 2528888,
            ListCustomerTypeUnverifiable = 252888899,

            ListAddressArea = 253,
            ListAddressAreaVerifiable = 2538888,
            ListAddressAreaUnverifiable = 253888899,

            ListCustomerName = 254,
            ListCustomerNameVerifiable = 2548888,
            ListCustomerNameUnverifiable = 254888899,

            ListCustomerGroup = 255,
            ListCustomerGroupVerifiable = 2558888,
            ListCustomerGroupUnverifiable = 255888899,            

            ListCustomerChannel = 256,
            ListCustomerChannelVerifiable = 2568888,
            ListCustomerChannelUnverifiable = 256888899,

            Quota = 314,
            QuotaVerifiable = 3148888,
            QuotaUnverifiable = 314888899,

            InMarket = 312,
            InMarketVerifiable = 3128888,
            InMarketUnverifiable = 312888899,

            InMarketImport = 31200,

            MarketingProgram = 109,
            MarketingProgramVerifiable = 1098888,
            MarketingProgramUnverifiable = 109888899,


            MarketingIncentive = 121,
            MarketingIncentiveVerifiable = 1218888,
            MarketingIncentiveUnverifiable = 121888899,

            MarketingPayment = 131,
            MarketingPaymentVerifiable = 1318888,
            MarketingPaymentUnverifiable = 131888899,

            MarketingMonitoring = 451,
            MarketingMonitoringVerifiable = 4518888,
            MarketingMonitoringUnverifiable = 451888899



        }


        public enum EIColumnID
        {
            //CAC ENUM NAY PHAI MATCH VOI COLUMNID TRONG TABLE LISTCOLUMNNAME
            //TRONG T/H CAC FIELD MAPPING ID => ALL COLUMNGROUPID = COLUMNID CUA MAIN FIELD. VD: COLUMNID.CUSTOMERID = 700 => COLUMNGROUP.CUSTOMERID = 700 AND COLUMNGROUP.CUSTOMERNAME = 700 (MAC DU COLUMNID.CUSTOMERNAME = 15)

            EINoneID = 0,

            EIAddressAreaID = 200,

            EICommodityID = 30,

            EICustomerTypeID = 600,
            EICustomerChannelID = 650,
            EICustomerCategoryID = 4,

            EICustomerID = 700,

            EICustomerName = 710,
            EICustomerVATCode = 730,
            EICustomerContactName = 735,
            EICustomerAttentionName = 740,
            EICustomerTelephone = 745,
            EICustomerEMail = 750,
            EICustomerAddressNo = 720,
            EICustomerStreet = 725,

            EIInvoiceID = 900,
            EIInMarketDate = 905,
            EIQuantity = 910,
            EIUnitUPrice = 915,
            EIUnitUPriceEX = 920,


            //'// IMPORT QUOTA
            //'    EIRowNo = 100
            //'    EIPurchaseOrderID = 200
            //'    EIPurchaseShipmentID = 210
            //'    EIWHInputDate = 220
            //'    EISerialNo = 600
            //'    EIFixedAsset = 610
            //'    EIColorCode = 620
            //'    EICommodityID = 900
            //'    EIDescriptionOfficial = 910
            //'    EIDescriptionOriginal = 920
            //'    EIQuantity = 930
            //'    EIUnitUPrice = 940
        }


    }
}
